import {
	myRequest
} from "../utils/request.js"
//提交实名信息
export function submitrealname(data) {
	return myRequest({
		url: "member_real/submit",
		method: "post",
		data: data || {}
	})
}
//忘记手机号码
export function forgetPhone(data) {
	return myRequest({
		url: "member/forgetPhone",
		method: "post",
		data: data || {}
	})
}
//修改手机号
export function editPhone(data) {
	return myRequest({
		url: "member/editPhone",
		method: "post",
		data: data || {}
	})
}
//修改密码
export function editPassword(data) {
	return myRequest({
		url: "member/editPassword",
		method: "post",
		data: data || {}
	})
}
//设置/修改交易密码
export function editSecondPassword(data) {
	return myRequest({
		url: "member/editSecondPassword",
		method: "post",
		data: data || {}
	})
}
//退出登录
export function logout(data) {
	return myRequest({
		url: "member/logout",
		method: "post",
		data: data || {}
	})
}
//修改个人信息
export function updateInfo(data) {
	return myRequest({
		url: "member/updateInfo",
		method: "post",
		data: data || {}
	})
}
//战力值排行榜

export function zhanlizhi(data) {
	return myRequest({
		url: "member_ce_record/index",
		method: "post",
		data: data || {}
	})
}
//我的客服

export function myservice(data) {
	return myRequest({
		url: "member/contactUs",
		method: "post",
		data: data || {}
	})
}
//修改通证地址

export function address(data) {
	return myRequest({
		url: "member/updateWallet",
		method: "post",
		data: data || {}
	})
}
//系统消息

export function messageslist(data) {
	return myRequest({
		url: "messages/list",
		method: "post",
		data: data || {}
	})
}

export function messagesindex(data) {
	return myRequest({
		url: "messages/index",
		method: "post",
		data: data || {}
	})
}
//平台收款展示
export function bankInfo(data) {
	return myRequest({
		url: "recharge/bankInfo",
		method: "post",
		data: data || {}
	})
}
export function updateInviteCode(data) {
	return myRequest({
		url: "member/updateInviteCode",
		method: "post",
		data: data || {}
	})
}
// 注销账号
export function changeLogoff(data) {
	return myRequest({
		url: "member/logoff",
		method: "post",
		data: data || {}
	})
}